package com.cn.yds.bdy.enums;

import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

public enum  TopicStatusEnum {

    NEW(5),
    SELETING(6),
    DONE(7),
    DISABLE(8);

    private Integer status;

    TopicStatusEnum(Integer status) {
        this.status = status;
    }

    public static List<Integer> getValues(){
        return Arrays.stream(TopicStatusEnum.values()).map(k->k.getStatus()).collect(Collectors.toList());
    }


    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
